package org.kingkong.test;

import org.kingkong.framework.annotation.Grid;
import org.kingkong.framework.annotation.GridColumn;
import org.kingkong.framework.selection.SelectionMode;

@Grid(selectionMode = SelectionMode.MULTI, selectable = true, id = "gridId")
public class UserRow {

	@GridColumn(field = "id", label = "common.grid.id")
	private int id;

	@GridColumn(field = "firstName", label = "common.grid.first_name")
	private String firstName;

	@GridColumn(field = "lastName", label = "common.grid.last_name")
	private String lastName;

	public String getFirstName() {
		return firstName;
	}

	public int getId() {
		return id;
	}

	public String getLastName() {
		return lastName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Override
	public String toString() {
		return "UserRow [id=" + id + ", firstName=" + firstName + ", lastName="
				+ lastName + "]";
	}

}
